Prevent filling from mangling ChangeLog defun lists
authorPo Lu <luangruo@yahoo.com>
Mon, 29 Jan 2024 02:54:49 +0000 (10:54 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 29 Jan 2024 02:59:30 +0000 (10:59 +0800)
commite9cf215d7067d5375425e605461b155216ed23b5
tree32bfc48898e68b06b131649796ace3fd8bc9827c
parentd2abe91d4bf68f20e4b1cd39f88ed98fd5731524
Prevent filling from mangling ChangeLog defun lists

* lisp/vc/log-edit.el (log-edit-fill-entry): Replace space
characters within defun lists with NBSPs for the duration of
`fill-region''s execution, so that they are never considered
break points.

* test/lisp/vc/log-edit-tests.el
(log-edit-fill-entry-space-substitution): New test.
lisp/vc/log-edit.el
test/lisp/vc/log-edit-tests.el